<div id = "main-contentz">
<div id = "main-content-area">
	<div id = "main-content-wrap">

		<div id = "message-listing">
			<div id = "m-listing-top">
				<p>Message Summary Listing</p>
				<p>List of all messages you have been sent.</p>
				
				<?php if($records->password_setup_status == 0):?>
					<p style="background:#FFEBE8;border:2px solid #FF4343;color:#006633;">You have not yet setup for the recipient and executor passsword <a href="javascript:void(0);" id="password_setup">click here</a> to setup</p>
				<?php endif;?>
			</div>
			<h2>Your Current Messages Sent List</h2>

			<div id = "m-listing-context">
				<ul>
					<li>
						<div class = "m-count"> 
							<p><?php echo $numPhotos; ?></p>
						</div>
						<div id = "m-listing-type">
							<h2><a href = "<?php echo base_url(); ?>index.php/messages/type/photos" title = "Photos">Photos</a></h2>
							<p>Messages tha include images </p>
						</div>
					</li>

					<li>
						<div class = "m-count">
							<p><?php echo $numVideos; ?></p>
						</div>
						<div id = "m-listing-type">
							<h2><a href = "<?php echo base_url(); ?>index.php/messages/type/videos" title = "Videos">Videos</a></h2>
							<p>Messages tha include images </p>
						</div>
					</li>

					<li>
						<div class = "m-count">
							<p><?php echo $numNotes; ?></p>
						</div>
						<div id = "m-listing-type">
							<h2><a href = "<?php echo base_url(); ?>index.php/messages/type/notes" title = "Notes">Notes</a></h2>
							<p>Messages tha include images </p>
						</div>
					</li>

					<li>
						<div class = "m-count">
							<p><?php echo $numDocuments; ?></p>
						</div>
						<div id = "m-listing-type">
							<h2><a href = "<?php echo base_url(); ?>index.php/messages/type/documents" title = "Docements">Documents</a></h2>
							<p>Messages tha include images </p>
						</div>
					</li>

					<li>
						<div class = "m-count">
							<p><?php echo $numJournal; ?></p>
						</div>
						<div id = "m-listing-type">
							<h2><a href = "<?php echo base_url(); ?>index.php/messages/type/journal" title = "Journal">Journal</a></h2>
							<p>Messages tha include images </p>
						</div>
					</li>

				</ul>
			</div>
			<div id = "m-listing-bottom">
				<p>Send  messages that will be shown to your loved one and the rest of the world. You can attach
photos, videos, and documents in your messages.</p>
			</div>
			
			
		</div>
		

	</div>
	<div class="clear"></div>
		<div class="rep_ads">
			<img src="<?php echo base_url();?>assets/images/<?php echo $bottom_ads[0]->banner;?>" alt=""/>
		</div>
	
</div>
</div>

